package com.atguigu.yygh.order.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-hosp")
public interface HospFeignClient {
    @GetMapping("/admin/hosp/schedule/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);


    @GetMapping("/admin/hosp/hospitalSet/getApiUrl/{hoscode}")
    public String getApiUrl(@PathVariable("hoscode") String hoscode);
}
